package com.yupi.yuoj.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName user_footprints
 */
@TableName(value ="user_footprints")
@Data
public class UserFootprints {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long user_id;

    /**
     * 目标类型: 1文章 2沸点
     */
    private Integer target_type;

    /**
     * 目标ID
     */
    private Long target_id;

    /**
     * 行为: 1浏览 2点赞 3评论 4收藏
     */
    private Integer action;

    /**
     * 
     */
    private Date created_at;
}